from lib.log import logger
def login():
    try:
        int('dasd')
    except Exception as e:
        print('转化失败')
        logger.error(str(e))

def register():
    print('注册')